{extend name="base:base" /}
{block name="body"}



<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card layui-form">

                 <form name="import" id="import"  method="post" action="{:url('html_create')}" target="result">
                  <div class="layui-card-body">
<div class="layui-input-inline">
                    <select name="category">
                        <option value="">请选择分类</option>
                        <?php echo html_select($category_select); ?>
                    </select>
                </div>
                      
                      <button class="layui-btn layui-btn-normal" type="submit" onclick="$('form').attr('action', '<?php echo url('html_create'); ?>');"><i class="layui-icon layui-icon-release"></i>按栏目生成详情</button>
                <button class="layui-btn layui-btn-normal" type="submit" onclick="$('form').attr('action', '<?php echo url('html_create_index'); ?>');"><i class="layui-icon layui-icon-release"></i>生成首页&列表</button>
     
                  </div>
                  <div class="layui-card-body">
<iframe name="result" style="width: 100%;border: red solid 0px; height: 500px;"></iframe> 
                  </div>                       
                </form>

            </div>
        </div>
    </div>
</div>

{/block}